package com.xunshibao.core.dao;

import java.util.Map;

public class ExecuteHql {
	/**
	 * hql语句
	 */
	private String hql = null;
	/**
	 * hql对应的参数，如果没有参数不需要设置
	 */
	Map<String, Object> param = null;

	public String getHql() {
		return hql;
	}

	public void setHql(String hql) {
		this.hql = hql;
	}

	public Map<String, Object> getParam() {
		return param;
	}

	public void setParam(Map<String, Object> param) {
		this.param = param;
	}

	public ExecuteHql(String hql, Map<String, Object> param) {
		super();
		this.hql = hql;
		this.param = param;
	}

	public ExecuteHql(String hql) {
		super();
		this.hql = hql;
		this.param = null;
	}
	
}
